#ifndef RTP_PARSE_TRANSPORT_CONGESTION_CONTROL_CLIENT_H
#define RTP_PARSE_TRANSPORT_CONGESTION_CONTROL_CLIENT_H

#include <cstdint>
#include "rtp/ReceiverReport.h"

constexpr uint32_t TransportCongestionControlMinOutgoingBitrate { 30000u }; 

class TransportCongestionControlClient {
public:
    enum class BweType {
        TRANSPORT_CC = 1,
        REMB
    };
public:
    BweType GetBweType() const {
        return this->bweType;
    }
    void ReceiveRtcpReceiverReport(Rtp::Rtcp::ReceiverReportPacket *packet, float rtt, int64_t nowMs);
    void ReceiveEstimatedBitrate(uint32_t bitrate);
private:
    BweType bweType;
};
#endif
